package com.bfsuol.yihang.cars.domain;

import com.bfsuol.yihang.cars.dto.VehicleDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class VehicleDomainRepository {

    @Autowired
    private VehicleService vehicleService;

    public VehicleDTO getOneByVehicleNo(String vehicleNo) {
        return vehicleService.getOneByVehicleNo(vehicleNo);
    }
}
